/*
 * @author boss archetype
 * <p>
 * 枚举定义
 */
package com.hopes.bizz.stop.common.constant.enums;


import com.hopes.bizz.stop.common.api.feign.RemoteParkStopDictService;
import com.hopes.boss.admin.api.resolver.EnumResolver;
import com.hopes.boss.admin.api.resolver.IDict;

public enum ParkStopModDictEnum implements EnumResolver<RemoteParkStopDictService> {

    /**
     * 因子信息
     */
    factor_info("listFactorInfoListAsDict"),
    /**
     * 因子名
     */
    factor_name("listFactorNameListAsDict"),
    /**
     * 监控点
     */
    monitor_site("listMonitorSiteListAsDict"),
    ;

    private final String methodName;

    private Class<? extends IDict> remoteClass = RemoteParkStopDictService.class;

    ParkStopModDictEnum(String methodName) {
        this.methodName = methodName;
    }

    ParkStopModDictEnum(String methodName, Class<? extends IDict> remoteClass) {
        this.methodName = methodName;
        this.remoteClass = remoteClass;
    }

    @Override
    public String getType() {
        return this.name();
    }

    @Override
    public String getMethodName() {
        return methodName;
    }

    @Override
    public Class<? extends IDict> getRemoteClass() {
        return remoteClass;
    }
}
